import java.util.LinkedList;

/**
 * ClassName LinkedListTest
 * Description TODO
 * Author Hexiao
 * Date 2018/8/20 16:51
 * Version 1.0
 **/
public class LinkedList_Queue {
    private  LinkedList<String> linkedList=new LinkedList<String>();
    public  void put(String str){
        linkedList.addFirst(str);
    }
    public  String get(){
        return linkedList.removeLast();
    }
    public boolean isEmpty(){
        return linkedList.isEmpty();
    }

//    public static void main(String[] args){
//        put("one");
//        put("two");
//        put("three");
//        System.out.println(get());
//    }
}